import 'dart:collection';

class LocationModel {
  String? province;
  String? district;
  String? pcode;

  LocationModel(
      {this.province,
      this.district,
      this.pcode});

  LocationModel.fromJson(Map<String, dynamic> json) {
    province = json['province'];
    district = json['district'];
    pcode = json['pcode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['province'] = province;
    data['district'] = district;
    data['pcode'] = pcode;
    return data;
  }
}